<template>
  <el-breadcrumb separator="/">
    <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
    <el-breadcrumb-item>{{first}}</el-breadcrumb-item>
    <el-breadcrumb-item>{{second}}</el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script>
    export default {
        name: "indexBreadcrumd",
      props:{
          first:{
            type:String,
            default:'一级模块'
          },
          second:{
            type: String,
            default: '二级模块'
          }
      }
    }
</script>

<style scoped>
.el-breadcrumb{
  background-color:#e4e7ed;
  height: 35px;
  border-radius: 4px;
  line-height:35px;
}
</style>
